package com.system.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.system.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.system.vo.request.UserPageReqVO;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author XueHeng
 * @since 2020-09-17
 */
public interface UserMapper extends BaseMapper<User> {

    /*
    获取单个用户信息
     */
    public User getUser(String userId);

    /*
    获取所有用户
     */
    public IPage<User> selectAll(Page page,@Param("vo") UserPageReqVO vo);


}
